﻿<Window x:Class="Poet.GoToLineDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Go To Line" Height="130" Width="300" WindowStartupLocation="CenterScreen" ShowInTaskbar="False" ResizeMode="CanMinimize" Icon="/Avalon;component/Images/rose-32x32.png">
    <Grid>

        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        
        <Label Name="_rangeNumber" Content="_Line number" Grid.Row="0" Margin="12,0" />
        <TextBox  Name="_lineNumberTextBox" TabIndex="0"  Grid.Row="1" Margin="12,0" TextChanged="LineNumberTextBoxTextChanged" />        
        <Button Content="Ok" IsDefault="True" Grid.Row="3" Height="23" HorizontalAlignment="Right" Name="_okButton" VerticalAlignment="Bottom" Width="75" Margin="0,12,93,12" Click="OkButtonClick" />
        <Button Content="Cancel" IsCancel="true" Grid.Row="3" Height="23" HorizontalAlignment="Right" Name="_cancelButton" VerticalAlignment="Bottom" Width="75" Margin="0,12,12,12" />

    </Grid>   

</Window>
